//
//  Customer.h
//  MAlatang
//
//  Created by mac on 4/14/16.
//  Copyright (c) 2016 liuchengming. All rights reserved.
//

#import <Foundation/Foundation.h>

@protocol EatDelggate <NSObject>

@required   //一定要实现的行为定义
-(void)getFood:(NSString *)str;
-(void)pay:(double)money;

@optional  //可选实现的行为定义
-(void)otherMethod;

@end

@interface Customer : NSObject
@property (weak,nonatomic) id<EatDelggate>delegate;

-(void)comeToRestorant;

@end
